body {
  font-family: -apple-system, BlinkMacSystemFont, inherit, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: auto;
  position:relative;
  padding:0;
  margin:0;
}

*{
  padding:0;margin:0;
}
.panel{
  // padding: 10px;
}
.full-panel{
  width:100%;
  height:100%;
}
.margin-full{
  margin-left: 1rem;
  margin-right: 1rem;
}
.flex-row{
  display:flex;
  flex-direction:row;
}

.flex-column{
  display:flex;
  flex-direction:column;
}
.flex-full{
  flex-grow:1;
}

.icon{
  font-family: 'bootstrap-icons';
}
.w-full{
  padding-left:0;
  padding-right:0;
}
.cb-row{
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.sys-col{
  height:100%;
}
.sys-bars{
  width:50px;
  background-color: $cbg-color;
  border-right:1px solid $bd-color-main-bars;
}
.sys-content{
  background-color: $wk-color;
}
.sys-content{
  flex-grow: 1;
}
.sys-col-content{
  background-color: $wk-color;
}
.sys-right{
  width:300px;
  background-color: $cbg-color;
  min-width:130px;
  max-width:50%;
}
.app-container{
  position:relative;
  width:100vw;
  height:100vh;
  color:$font-color;
  .cb-row{
    height:100%;
  }
}

#cubex-app{
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.pg-title{
  position: relative;
  background: $bg-color;
  color: $ft-color;
  line-height: $header-height;
  z-index:10;
  .contrl-border *{
    -webkit-app-region: no-drag;
  }
}

.pg-title-control{
  width:100%;
  position:absolute;
  top:0;left:0;right:0;
  height:$header-height;
  z-index:5;
}

.app-content{
  position:absolute;
  top:$header-height;
  bottom: $foot-height;
  left:0;
  right:0;
}

/* 滚动条所在容器 */
.scroll-container {
  // margin: 10px;
  width: 500px;
  height: 150px;
  overflow: overlay;
  background-color: #eee;
  white-space: nowrap;
}

/* 滚动条整体 */
*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
/* 两个滚动条交接处 -- x轴和y轴 */
*::-webkit-scrollbar-corner {
  background-color: transparent;
}

/* 滚动条滑块 */
*::-webkit-scrollbar-thumb {
  border-radius: 4px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #535353;
}

/* 滚动条轨道 */
*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background: rgba(209, 209, 209, 0);
}

/* 滚动条两端按钮 */
*::-webkit-scrollbar-button {
}